<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台用户管理</title>
</head>
<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
</script>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl;?>/admincss/thickbox.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo $this->baseUrl;?>/adminjs/jquery.pack.js" /></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->baseUrl;?>/adminjs/thickbox.compressed.js" /></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->baseUrl;?>/adminjs/user.js" /></script>

<body>
<table class="tableA" width="100%" border="1">
  <tr>
    <td nowrap="nowrap">编号</td>
    <td nowrap="nowrap">用户编号</td>
    <td nowrap="nowrap">用户名</td>
    <td nowrap="nowrap">充值额</td>
    <td nowrap="nowrap">对应cash</td>
    <td nowrap="nowrap">充值前cash</td>
    <td nowrap="nowrap">是否已支付</td>
    <td nowrap="nowrap">IP</td>
    <td nowrap="nowrap">创建时间</td>
    <td nowrap="nowrap">修改时间</td> 
    <td nowrap="nowrap">订单号</td> 
  </tr>
<!--
<?php
foreach ($this->list as $v){
$ip = long2ip($v['IP']);
$v['AlreadyPay'] = $v['AlreadyPay'] == 0?'未支付' : '已支付';
print <<<EOT
-->
  <tr>
    <td nowrap="nowrap">{$v['Id']}</td>
    <td nowrap="nowrap">{$v['uid']}</td>
    <td nowrap="nowrap">{$v['username']}</td>
    <td nowrap="nowrap">{$v['pay']}</td>
    <td nowrap="nowrap">{$v['GameCash']}</td>
    <td nowrap="nowrap">{$v['BeforeCash']}</td>
    <td nowrap="nowrap">{$v['AlreadyPay']}</td>
    <td nowrap="nowrap">{$ip}</td>
    <td nowrap="nowrap">{$v['CreateTime']}</td>
    <td nowrap="nowrap">{$v['UpdateTime']}</td> 
    <td nowrap="nowrap">{$v['PlatFormOrderId']}</td> 
  </tr>
<!--
EOT;
}
$indexurl =$this->url($this->fullUrl, 'pay', 'list', 'nowp=1');
$nexturl = $this->url($this->fullUrl, 'pay', 'list', 'nowp='.$this->page['next']);
$preurl = $this->url($this->fullUrl, 'pay', 'list', 'nowp='.$this->page['previous']);
$lasturl = $this->url($this->fullUrl, 'pay', 'list', 'nowp='.$this->page['totalpage']);
print <<<EOT
-->
  <tr>
    <td colspan="11">共{$this->page['totalnum']}条充值记录 {$this->page['nowp']}/{$this->page ['totalpage']}
<a href="{$indexurl}">首页</a>
<a href="{$nexturl}">下一页</a>
<a href="{$preurl}">前一页</a>
<a href="{$lasturl}">末页</a></td>
  </tr>
<!--
EOT;
?>-->
</table>
</body>
</html>
